package com.authine.cloudpivot.ext.domain;

import java.util.Date;
import javax.persistence.*;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Table(name = "h_org_role_user")
public class OrgRoleUser {
    @Id
    private String id;

    private Date createdTime;

    private String creater;

    private Boolean deleted;

    private String extend1;

    private String extend2;

    private String extend3;

    private Integer extend4;

    private Integer extend5;

    private Date modifiedTime;

    private String modifier;

    private String remarks;

    private String ouScope;

    private String roleId;

    private String userId;

    /**
     * 钉钉用户id非unionId
     */
    private String userSourceId;

    /**
     * 钉钉角色id
     */
    private String roleSourceId;

    /**
     * 角色关联类型
     */
    private String unitType;

    /**
     * 角色关联部门ID
     */
    private String deptId;

    /**
     * 管理范围（人员）
     */
    private String usScope;
}